package com.tian.mapper;

import com.tian.dto.ChargeStationListReqDto;
import com.tian.entity.ChargeStation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ChargeStationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChargeStation record);

    ChargeStation selectByPrimaryKey(Long id);

    List<ChargeStation> selectAll();
    List<ChargeStation> list(ChargeStationListReqDto chargeStationListReqDto);
    int count(ChargeStationListReqDto chargeStationListReqDto);

    int updateByPrimaryKey(ChargeStation record);
}